<?php include 'header.php' ?>

<div class="container">

    <div class="row" style="margin-top: 160px;">
        <div class="span4 offset4 well">

            <legend>Please Sign In</legend>

            <?php if (isset($error) && $error): ?>
                <div class="alert alert-error">
                    <a class="close" data-dismiss="alert" href="#">×</a>Incorrect Username or Password!
                </div>
            <?php endif; ?>

            <?php echo form_open('login/login_user') ?>

            <input type="email" id="email" class="span4" name="email" placeholder="Email Address">
            <input type="password" id="password" class="span4" name="password" placeholder="Password">

            <label class="checkbox">
                <input type="checkbox" name="remember" value="1"> Remember Me
            </label>

            <button type="submit" name="submit" class="btn btn-info btn-block">Sign in</button>


            </form>
            <span class="span4">Don't have an account? <?php echo anchor('login/register', 'Register'); ?></span>
        </div>
    </div>

</div>

<?php include 'footer.php' ?>